<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>LibCDS: Queue Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">LibCDS
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structQueue.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">Queue Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The implementation for queue.  
 <a href="structQueue.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a1422a23444ea333bb1ebd64c88228029"><td class="memItemLeft" align="right" valign="top"><a class="el" href="queue_8h.html#a0748e958e26915341229e2c55cf98d14">QueueData</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQueue.html#a1422a23444ea333bb1ebd64c88228029">pData</a></td></tr>
<tr class="memdesc:a1422a23444ea333bb1ebd64c88228029"><td class="mdescLeft">&#160;</td><td class="mdescRight">The container private information.  <a href="#a1422a23444ea333bb1ebd64c88228029">More...</a><br/></td></tr>
<tr class="separator:a1422a23444ea333bb1ebd64c88228029"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3059f2c6345c67f67350e9f1449ed9dc"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQueue.html#a3059f2c6345c67f67350e9f1449ed9dc">push</a> )(struct _Queue *, Item)</td></tr>
<tr class="memdesc:a3059f2c6345c67f67350e9f1449ed9dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert an item to the tail of the queue.  <a href="#a3059f2c6345c67f67350e9f1449ed9dc">More...</a><br/></td></tr>
<tr class="separator:a3059f2c6345c67f67350e9f1449ed9dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59bb3227707ee858e629bf7536956fdb"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQueue.html#a59bb3227707ee858e629bf7536956fdb">front</a> )(struct _Queue *, Item *)</td></tr>
<tr class="memdesc:a59bb3227707ee858e629bf7536956fdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve item from the head of the queue.  <a href="#a59bb3227707ee858e629bf7536956fdb">More...</a><br/></td></tr>
<tr class="separator:a59bb3227707ee858e629bf7536956fdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a535301dfb76b3b5aaca8d196090725c2"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQueue.html#a535301dfb76b3b5aaca8d196090725c2">back</a> )(struct _Queue *, Item *)</td></tr>
<tr class="memdesc:a535301dfb76b3b5aaca8d196090725c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve item from the tail of the queue.  <a href="#a535301dfb76b3b5aaca8d196090725c2">More...</a><br/></td></tr>
<tr class="separator:a535301dfb76b3b5aaca8d196090725c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0df3215a0fafc2c56090787cf8212b41"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQueue.html#a0df3215a0fafc2c56090787cf8212b41">pop</a> )(struct _Queue *)</td></tr>
<tr class="memdesc:a0df3215a0fafc2c56090787cf8212b41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete an item from the head of the queue.  <a href="#a0df3215a0fafc2c56090787cf8212b41">More...</a><br/></td></tr>
<tr class="separator:a0df3215a0fafc2c56090787cf8212b41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ef387d7de5650223637407d8f808471"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQueue.html#a2ef387d7de5650223637407d8f808471">size</a> )(struct _Queue *)</td></tr>
<tr class="memdesc:a2ef387d7de5650223637407d8f808471"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of stored items.  <a href="#a2ef387d7de5650223637407d8f808471">More...</a><br/></td></tr>
<tr class="separator:a2ef387d7de5650223637407d8f808471"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a448521d11b51393a9f8fd8b5893f6b6a"><td class="memItemLeft" align="right" valign="top">int32_t(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structQueue.html#a448521d11b51393a9f8fd8b5893f6b6a">set_destroy</a> )(struct _Queue *, void(*)(Item))</td></tr>
<tr class="memdesc:a448521d11b51393a9f8fd8b5893f6b6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the custom item resource clean method.  <a href="#a448521d11b51393a9f8fd8b5893f6b6a">More...</a><br/></td></tr>
<tr class="separator:a448521d11b51393a9f8fd8b5893f6b6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The implementation for queue. </p>

<p>Definition at line <a class="el" href="queue_8h_source.html#l00014">14</a> of file <a class="el" href="queue_8h_source.html">queue.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a1422a23444ea333bb1ebd64c88228029"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="queue_8h.html#a0748e958e26915341229e2c55cf98d14">QueueData</a>* Queue::pData</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The container private information. </p>

<p>Definition at line <a class="el" href="queue_8h_source.html#l00016">16</a> of file <a class="el" href="queue_8h_source.html">queue.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3059f2c6345c67f67350e9f1449ed9dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* Queue::push)(struct _Queue *, Item)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Insert an item to the tail of the queue. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="queue_8h.html#ae50136d9a5f9699e3ad3910658125513" title="Insert an item to the tail of the queue. ">QueuePush</a> </dd></dl>

<p>Definition at line <a class="el" href="queue_8h_source.html#l00020">20</a> of file <a class="el" href="queue_8h_source.html">queue.h</a>.</p>

</div>
</div>
<a class="anchor" id="a59bb3227707ee858e629bf7536956fdb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* Queue::front)(struct _Queue *, Item *)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieve item from the head of the queue. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="queue_8h.html#a6531988b67c4bd3ed67a7853114f0ba0" title="Retrieve item from the head of the queue. ">QueueFront</a> </dd></dl>

<p>Definition at line <a class="el" href="queue_8h_source.html#l00024">24</a> of file <a class="el" href="queue_8h_source.html">queue.h</a>.</p>

</div>
</div>
<a class="anchor" id="a535301dfb76b3b5aaca8d196090725c2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* Queue::back)(struct _Queue *, Item *)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieve item from the tail of the queue. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="queue_8h.html#ad1930f0e825f7161e58642dd744571cd" title="Retrieve item from the tail of the queue. ">QueueBack</a> </dd></dl>

<p>Definition at line <a class="el" href="queue_8h_source.html#l00028">28</a> of file <a class="el" href="queue_8h_source.html">queue.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0df3215a0fafc2c56090787cf8212b41"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* Queue::pop)(struct _Queue *)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Delete an item from the head of the queue. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="queue_8h.html#a559d13d3e2eaa0d548e737b0aab6b3bb" title="Delete item from top of the queue. ">QueuePop</a> </dd></dl>

<p>Definition at line <a class="el" href="queue_8h_source.html#l00032">32</a> of file <a class="el" href="queue_8h_source.html">queue.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2ef387d7de5650223637407d8f808471"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* Queue::size)(struct _Queue *)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the number of stored items. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="queue_8h.html#a727b057ec177882fe7649e62c128d7b0" title="Return the number of stored items. ">QueueSize</a> </dd></dl>

<p>Definition at line <a class="el" href="queue_8h_source.html#l00036">36</a> of file <a class="el" href="queue_8h_source.html">queue.h</a>.</p>

</div>
</div>
<a class="anchor" id="a448521d11b51393a9f8fd8b5893f6b6a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t(* Queue::set_destroy)(struct _Queue *, void(*)(Item))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the custom item resource clean method. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="queue_8h.html#aba15201b5633661f312eff3521117108" title="Set the custom item resource clean method. ">QueueSetDestroy</a> </dd></dl>

<p>Definition at line <a class="el" href="queue_8h_source.html#l00040">40</a> of file <a class="el" href="queue_8h_source.html">queue.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structQueue.html">Queue</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
